package com.kly.msg.config;

import com.alibaba.nacos.api.config.annotation.NacosValue;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class NXConfig {
    @NacosValue(value = "${nxc-config.api_key}", autoRefreshed = true)
    private String apiKey;
    /**
     * 对接牛信云平台凭证：密码
     */
    @NacosValue(value = "${nxc-config.api_secret}", autoRefreshed = true)
    private String apiSecret;

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getApiSecret() {
        return apiSecret;
    }

    public void setApiSecret(String apiSecret) {
        this.apiSecret = apiSecret;
    }
}
